using UnityEngine;

public class SpawnScript : MonoBehaviour
{
    public GameObject prefab;

    void Start()
    {
        //生成一个
        Instantiate(prefab);
    }
}